<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Rep\UserLogRep;
use Illuminate\Http\Request;

class UserLog extends Controller
{
    protected $rep;

    public function __construct(Request $request)
    {
        $this->rep = new UserLogRep();
    }

    /**
     * 获取admin操作日志列表
     */
    public function getUserLogList(Request $request){
        $list = $this->rep->getUserLogList($request->all());
        return re(0,$list,'success');
    }
}
